package storage

import "errors"

var (
	ErrClosed = errors.New("storage: Closed")
)

type FileType int
type Locker interface {
	UnLock()
}
type FileDesc struct {
	Type FileType
	Num  int64
}
type Storage interface {
	Lock() (Locker, error)
	Close() error
}
